<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Handbook extends Model
{
    public $table = 'nav_handbook_list';

    public function type(){
        return $this->hasOne('App\Type','id','type_id');
    }

    public function depart(){
        return $this->hasOne('App\Department','id','department_id');
    }

}
